package com.uduew.sjd.api;

import static com.uduew.sjd.config.Const.API_JOB_POST;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestBodyStrategy;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.RequestBodyType;

import java.util.ArrayList;


public class GetJobPostApi implements IRequestApi, IRequestType {


    @NonNull
    @Override
    public String getApi() {
        return API_JOB_POST;
    }

    /**
     * 获取参数的提交类型
     */
    @NonNull
    @Override
    public IRequestBodyStrategy getBodyType() {
        return RequestBodyType.JSON;
    }

    public static final class JobPostBean {
        private String beastly;
        private String giglot;
        private ArrayList<UnsellableBean> unsellable;

        public String getBeastly() {
            return beastly;
        }

        public String getGiglot() {
            return giglot;
        }

        public ArrayList<UnsellableBean> getUnsellable() {
            return unsellable;
        }
    }

    public static final class UnsellableBean {


        private String beastly;
        private String giglot;

        public String getBeastly() {
            return beastly;
        }

        public String getGiglot() {
            return giglot;
        }
    }
}

